package org.jeecg.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.entity.DiyProfessorInfo;
import org.jeecg.modules.entity.DiyProfessorScore;
import org.jeecg.modules.entity.ProjectPictureInfo;
import org.jeecg.modules.entity.Serializable;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface DiyProfessorScoreMapper extends BaseMapper<DiyProfessorScore> {
    /**
     * 自定义分页查询
     * @return
     * @param
     */
     List<DiyProfessorScore> pageByEntity(@Param("diyProfessorScore") DiyProfessorScore diyProfessorScore);

    String selDictNameById(@Param("id") String id);

    String selMajorNameById(@Param("pid") String pid);

     List<ProjectPictureInfo> getTotal(@Param("entity") Serializable Serializable);

}
